{template "header2.html"}

<div id="page-content">
    <div class="container">
        <div class="row">

            <div class="article col-xs-12 col-sm-8 col-md-8">
                <div class="breadcrumbs" >
                    <span itemprop="itemListElement"><i class="icon-location-2"></i></span>
                    <a href='/' class='crumb'>首页</a> >
                    {dr_catpos($catid, '', true, '<a href="[url]">[name]</a> > ')}
                    <span>内容</span>
                </div>
                <div class="post">
                    <div class="post-title">
                        <div class="post-entry-categories">
                            {loop $tags $name $url}
                            <a href="{$url}" target="_blank">{$name}</a>
                            {/loop}
                        </div>
                        <h1 class="title">{$title} </h1>
                        <div class="post_icon">
                            <span  class="postauthor">{$authro}</span>
                            <span  class="postcat"><i class=" icon-list-2"></i><a href="{$cat.url}">{$cat.name} </a></span>
                            <span class="postclock"><i class="icon-clock-1"></i> {$updatetime}</span>
                            <span class="postlike"><i class="icon-eye"></i> {dr_show_hits($id)} </span>
                        </div>
                    </div>
                    <div class="post-content">

                        {$content}
                    </div>

                </div>
                <div class="posts-cjtz content-cjtz clearfix"></div>
                <div class="next-prev-posts clearfix">
                    <div class="prev-post" >
                        {if $prev_page}
                        <a href="{$prev_page.url}" class="prev has-background" > <span>上一篇</span>
                            <h4>{$prev_page.title}</h4>
                        </a>
                        {else}
                        <a href="#" class="prev has-background" > <span>上一篇</span>
                            <h4>没有了</h4>
                        </a>
                        {/if}


                    </div>
                    <div class="next-post" >

                        {if $next_page}
                        <a href="{$next_page.url}" class="next has-background" > <span>下一篇</span>
                            <h4>{$next_page.title}</h4>
                        </a>
                        {else}
                        <a href="#" class="next has-background" > <span>下一篇</span>
                            <h4>没有了</h4>
                        </a>
                        {/if}
                    </div>
                </div>

                <div class="related-post">
                    <h3><span>猜你喜欢</span></h3>
                    <ul>
                        {related module=MOD_DIR NOT_id=$id tag=$tag num=6}
                        <li>
                            <div class="item"> <a href="{$t.url}" title="{$t.title}">
                                <div class="overlay"></div>
                                <img class="thumbnail" src="{dr_thumb($t.thumb)}">
                                <h4><span>{$t.title}</span></h4>
                            </a> </div>
                        </li>
                        {/related}
                    </ul>
                </div>
                <div class="clear"></div>

            </div>
            <div class="sidebar col-xs-12 col-sm-4 col-md-4">
                <div class="widget widget_suxingme_postlist">
                    <h3><span>随便看看</span></h3>
                    <ul class="recent-posts-widget">
                        {module module=news catid=$catid order=rand num=10}
                        <li class="others">
                            <div class="image"><a href="{$t.url}"> <img src="{dr_thumb($t.thumb)}" class="thumbnail"/> </a></div>
                            <div class="title">
                                <h4><a href="{$t.url}">{$t.title}</a></h4>
                                <span>{$t.updatetime}</span> </div>
                        </li>
                        {/module}
                    </ul>
                </div>

            </div>

        </div>
    </div>
</div>
<div class="clearfix"></div>

{template "footer2.html"}